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