


- #GITX INDEX KEEPS RELOADING HOW TO#
- #GITX INDEX KEEPS RELOADING CODE#
- #GITX INDEX KEEPS RELOADING MAC#
Mike has never seen the command doing the wrong thing. The git merge command would print out an extra message detailing that it has done the action above but you would still need to commit in case you did not want to go ahead with the action for any reason. If you are finding yourself fixing the same merge conflict again and again, this command can look at the input files and git knows you have solved it before and used the resolved version of the file instead of the conflicted one. To enable you would type, “ git config –global rerere.enabled true”
#GITX INDEX KEEPS RELOADING CODE#
git bisect run ls – have some of testing of that code for bug on each commit and let “run” go through the commands until that test passes.git bisect good – would mark the current commit as good.git bisect bad – would mark the current commit as bad and checkout the next commit.git bisect start – kicks off the process by cleaning up any previous bisect operations.If you have a bug and you know at what commit that bug didn’t exist, you could traverse through your commits checking and marking that commit as bad until you reach the good one. I have only ever seen this within GitLab by clicking a button and seeing a visual representation rather than at the command line. Git blame displays the every single of line and tells you who changed it. Before I knew this existed I used SourceTree (other Git GUIs available) for this purpose because I like a visual representation of my commits and branches. Clicking on each line allows you to see the commit message and the details around the commit. It allows you to see commits and branches visually.
#GITX INDEX KEEPS RELOADING MAC#
Gitk comes with git but gitx is a clone of gitk for the Mac (open source). I vaguely remember him referencing SourceTree first in the talk but could be mistaken.Ī list of commands that I had in my notebook are: gitk (Windows and Linux) and gitx (Mac). I can’t remember him going into too much detail about GitHub, maybe the occasional url or reference to GitHub GUI. The talk was based around GitHub but Mike had to explain the Git commands to do the GitHub chat. For me there can be a wee bit of fear when dealing with the edge cases when merges go wrong, commits go missing, or you push the wrong branch. I was interested in learning from someone that had advanced knowledge and eager to pick up any tips and tricks from an expert.
#GITX INDEX KEEPS RELOADING HOW TO#
Mike’s talk was fast paced and involved him going through a large number of commands explaining what they were and giving small examples of how to use them. Being a GitLab Admin, I’m trying to improve my Git skills and learn more because when someone comes to you, you want to help in any way that you can and give them the correct information. Using Git almost daily, you are just really using the commands clone, checkout, commit, push, pull, and occasionally branch. Since joining the company I have used Git in a number of projects and for about a year and a half I have been GitLab Admin in our sector and a wee bit beyond. I thought it might be useful if I also wrote down in a blog post what I spoke about at the TechX event. Mike works for GitHub and wrote a book called Git In Practice. The talk that I chose to discuss was Advanced Git and GitHub by Mike McQuaid. I was asked to do a brief ten minute talk for the company that I work for monthly TechX event. I attended the ScotSoft 2016 conference way back in October 2016.
