4 ms·
Commands make no sense? git add . git commit -am "feature working great" git push git branch new_feature git checkout new_feature git commit -am "new feat
by sunchild 17y ago
Commands make no sense?
git add .
git commit -am "feature working great"
git push
git branch new_feature
git checkout new_feature
git commit -am "new feature working great"
git push origin new_feature
How hard is that?!
- d0m 17y agoThere are lots of hidden step between all your commands sir, and you perfecly know it. Now, start removing files from your "git add ." Or switch branches without losing your change. Or rebasing. I never said it wasn't possible, neither hard. But, the interface (read CLI) still sucks.
- deleted 17y ago[deleted]
- j2d2 17y agoCheck out Smartgit.
- sunchild 17y agoAs far as I can tell, the only step that I left out is "git init". Switching branches without losing your changes is poor form anyway. You should be committing before you switch. If not, you can create multiple local branches (ick!) As for removing, it's familiar: "git rm removed_file"