๐ญ. ๐ ๐ผ๐ฑ๐ถ๐ณ๐ ๐๐ต๐ฒ ๐บ๐ผ๐๐ ๐ฟ๐ฒ๐ฐ๐ฒ๐ป๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐
use git commit --amend
๐ฎ. ๐๐ถ๐ป๐ฑ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐ฒs ๐ฏ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐
use git branch --contains
๐ฏ. ๐ฅ๐ฒ๐บ๐ผ๐๐ฒ ๐ณ๐ถ๐น๐ฒ ๐ณ๐ฟ๐ผ๐บ ๐๐ต๐ฒ ๐น๐ฎ๐๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐
use git rm --cached
followed by git commit --amend
๐ฐ. ๐ฅ๐ฒ๐ป๐ฎ๐บ๐ฒ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐ฒ๐ ๐น๐ผ๐ฐ๐ฎ๐น๐น๐
use git branch -m old-name new-name
For more information type
git help branch
๐ฑ. ๐ช๐ต๐ฎ๐ ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ๐ฑ ๐ถ๐ป ๐ฎ ๐๐ฝ๐ฎ๐ป ๐ผ๐ณ ๐๐ถ๐บ๐ฒ
use git whatchanged --since="2 weeks ago"
๐ฒ. ๐ง๐ถ๐บ๐ฒ ๐๐ฟ๐ฎ๐๐ฒ๐น๐ถ๐ป๐ด ๐๐๐ถ๐ป๐ด ๐๐๐ง
use git reflog
It shows you the list of all the things you've done so far.
Top comments (0)