Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. 1. Clone a git repo into a specific (or already exisiting directory)
  2.  
  3. git clone git@github.com:whatever folder-name
  4.  
  5. 2. Change the commit message that is pushed accidentally (which is included by IntelliJ or Eclipse from last commit)
  6.  
  7. git commit --amend -m "New commit message" => If not pushed to remote, this step is enough
  8. git push <remote> <branch> --force => If pushed already
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement