Let's just pretend she's reading the latest post on dev.to...
Introducing the Break Git Down Series!
Break Git Down is a super begin...
For further actions, you may consider blocking this person and/or reporting abuse
I believe that you have covered all the touch points required in order to fulfill the task.
However, like most programming books, it may be a good idea to filter your audience beyond your experience. For example, if I don't have git loaded or have seen git GUI or know how to get to my workstation command prompt, then where do I begin? Is this article for me or someone more advanced? In other words, are there any pre-conditions that must be met before continuing to reading the blog.
As in SOPs, often there are pre-reqs or conditions that must exist prior to completing the next step in sequence or task. What do those conditions look like when they are completed properly and incorrect, prior to moving forward.(visuals)
Highlight, as you did, the risk prior to and consequences of completing a task incorrectly. What to do if it happens. What to do in order to get back on course.
What happens if you get GOT trying to Git?
I like it because your pace and language is relaxed and not intimidating. That is BIG, considering I'm not a big Git user.
Today a blog. Tomorrow a book or whitepaper.
Thanks for the detailed feedback. In one of my next posts I'm going a bit backwards and go over how to configure Git as well as how to create a repository.
Patiently waiting for this. Thanks for the good work! :d
Of course 😊🤓
Second everything here.
...and taking notes from both author and commenter for MY posts...
scribbles notes emphatically
😂
Thanks for the article, always appreciate a clearly written piece that doesn't get bogged down.
I would have liked more info on that git push command though.. it doesn't really explain what you're doing.
Looking forward to reading some more though!
Try this: git checkout origin/master -b newer-branch
This will do the following:
Use "git branch -vv" to see the difference between "git checkout -b newer-branch" and "git checkout origin/master -b newer-branch-2"
I'm stumbling over this sentence:
I'm confused here. It doesn't push to master, does it? I thought it creates a new branch on the server with the same name as my "newer-branch"?
Yep you're correct. I didn't articulate it that well.
Thanks for clarifying!
This is a good related article about setting up alias
The Git Aliases That Get Me To Friday
Matt Miller
And here is more information about setting up alias: techradar.com/how-to/computing/app...
This is useful for common git commands you'll be repeating dozens of times every day!
Very simple yet thorough breakdown, excellent article!
Thank you so much Jyrone 😆🤓
Nice write up but you kind of miss the details of this line: git push --set-upstream origin newer-branch
Thanks for the feedback 👍
Great article! Looking forward to seeing more, I especially like the gifs. Might be worth noting that 'git add .' is specifically referencing files inside of this directory, so if like me you sometimes 'cd' to other places within your git repo, 'git add .' wont add all the files that changed, just the ones that changed within your current directory. You can do things like 'git add ../../' to add the files from directories higher up the tree.
You should try using tortoise git, its a lot better than the github desktop version.
I like the command line now but I'll try it out solely to give my opinion on it when I put out the article for beginners on which way they can learn git :)
Yeah I feel like the command its the correct way, however I always suggest learning first the concept and use an UI tool and then use the console. Tortoise git is very helpful in that sense since it expose the command that he used
Really helpful clear guide, thanks for the help! :)
Image credit: Catherine Einzbern
twitter.com/_einzbern/status/74884...
Great post. It is a nice introduction to Git and working with it in the general workflow. I'm looking forward to more posts getting into more details on Git and working in a project with it.
Should you need somewhere to run to when you forget these commands, I have a Git Sheet you could use here: gist.github.com/BolajiAyodeji/d539...