Even if youâve never used Git or Subversion before, youâve probably practiced version control. Discover what version control is, and how exactly Git can help you with your source code.
I just wonder how do you use git with Xcode. In this video tutorial you do everything via terminal.
How do you interact with git when you work on Xcode?
Do you use command line, initialise the git and create git ignore file manually or do you let Xcode does it for you?
I have never really used git inside Xcode. Xcode 9 introduces a completely redesigned git interface inside Xcode, but I think it unlikely that Iâll switch to using it.
Iâve always used git primarily from the command line, or via an app called GitUp, which you can learn a bit more about at the end of the Mastering Git video series.
I use zsh as my shell, with antigen to manage plugins. Using the robbyrussell theme and the git plugin gives me those features. There are other ways to achieve the same thingâfor example bash has some kind of git extensions you can use as well.
Iâm wondering If you can add some materials to come back to it as a fast review If someone want to do something and donât remember instead of watching the while video and move forward and backward to get what he needs.
Hi @samdavies
Actually ya, something like fast quick taken notes, so if you forgot something and you know thatâs was discussed in the course, so it will be great If i can find something telling me this quickly without wasting time in searching in whole list of videos or to search it through the web.
Thanks for the offer of help. I donât have time to put something like this together at the moment, but if you would like to put some notes together, I can get it styled up and attached to the course.
If not, then we should be able to get something sorted next update pass.
I put together some notes that are on git https://raw.githubusercontent.com/WillyScott/FlashCardsData/master/git.json
I think it covers 1-11 videos. Itâs in Json. I also have a free app âSwiftCardâ in the App Store (it might be hard to find not a lot of downloads) or you can get the app on my GitHub page FlashCardsSwift. The app isnât updated for swift 4 or latest Xcode.
The app can import the json file and create flashcards the you can practice on.
There are sections on common GUIs for git in the Mastering Git series, which follows this one. It doesnât include Xcode, and I do think itâd be nice to add a section on Xcode in the future.
However, I disagree strongly that command line git is becoming deprecated. Having a good understanding of how git works makes learning GUIs trivial. Understanding the same concepts directly from a GUI, especially a limited one, is significantly more challenging. The entire structure of this course is such that you learn the fundamental skills that are then easily transferrable to your GUI of choice, should you want to.
Hopefully weâll be able to add something about the Xcode git GUI at some point in the future.
Although there are alternatives to version control, none has the uptake of git. Git is the most popular of the generation of version control systems that are described as âdistributedâ (DVCS). You can also check out mercurial which is another popular option.
If you want to compare how far weâve come, and to check out some really cumbersome options, you could look at the precursors to DVCSâsvn and CVS used to be very popular. They are centralised version control systems, and were considerably more challenging to work with.
As far as Iâm aware, there is no magic bullet yet. Iâm sure there will be a new generation of version control systems, but we arenât there yet. Version control is a non-trivial problem, so the solution is likely to be somewhat challenging. I donât think âantiquatedâ is necessarily a fair descriptorâusually things become antiquated when theyâve been replaced with more modern inventions. Much as you might wish it, that is not the case with git yet.