The one Git command I consistently get wrong is using “checkout” when I mean “clone”. The last vestiges of my years using SVN.
The one Git command I consistently get wrong is using “checkout” when I mean “clone”. The last vestiges of my years using SVN.
@alexkingorg And here I am slowly understanding how push/pull/fetch all work. lol
@alexkingorg same here. And I haven’t svn’d in 2 years…
Or, alternatively, commit without pushing for a while (habits)
The team where I’m working switched from svn to git a couple of months ago. I was already using git for my personal projects, but using it in a team environment on a daily basis really helped solidify the structure and the workflow for me. Subversion seems downright primitive to me now.
With subversion, branching and merging seemed like big, scary monsters — things to be avoided. With git, branching and merging seems natural, and is a helpful tool that you use frequently. And since you use ‘git checkout’ for branching, doing this frequently helped break me out of the ‘svn checkout’ conflation.
Earlier today, I was looking at the docs for ‘git stash’. I’ve used it once or twice already when I needed to temporarily store some work-in-progress and revert back to HEAD. But after glancing over the manpage and seeing the example use-cases, it’s obvious that I should spend some more time getting more familiar with using stashes.