2
I did three commits on even file using git commit arquivo.ext -m "msg"
.
I realized that these three commits would look better together, as if they were one commit. There are ways to do this even after the git push
?
2
I did three commits on even file using git commit arquivo.ext -m "msg"
.
I realized that these three commits would look better together, as if they were one commit. There are ways to do this even after the git push
?
2
You can do it like this:
git reset --soft HEAD~3
git commit -m "GitCombinado com os ultimos 3"
More details: https://gist.github.com/patik/b8a9dc5cd356f9f6f980
I wouldn’t need the git add myfile
before the commit
?
No need, the git reset --soft
makes it ready to commit: https://git-scm.com/docs/git-reset
Browser other questions tagged git github commit
You are not signed in. Login or sign up in order to post.
Take a look at these responses https://stackoverflow.com/q/2563632/1518921
– Guilherme Nascimento