Quick Windows Git Clone Checkout

From reSIProcate
Jump to navigation Jump to search

Details[edit]

  • Use the context menu to start the clone:

Get-clone-21.png

  • If this is the first time you run Git, it will ask you to complete the profile setup:

Get-clone-22.png

  • The only things you need to complete are the User name and email address
  • These values will be embedded in any commits you make
  • Commits are hashed and can't be changed later, so it is imperative that you set appropriate long-term values
  • A long-term personal email address is usually recommended
  • You can change these values later, but changing them will not change any commits that you have already contributed to a repository

Get-clone-23.png

  • The files will be in C:\DEV\resiprocate after the clone:

File:Git-clone-24.png

  • Click "Clone" to proceed:

Get-clone-25.png

  • Wait a couple of minutes, it is downloading the full history of every file in every branch:

Get-clone-26.png

  • It is not finished and ready to use:

Get-clone-27.png

  • Use the context menu to access Git functions:

Get-clone-28.png

  • Notice how the browser can easily show all activity on a file on all branches in chronological order?
  • Browsing the file in other branches is lightning fast because everything is cached locally by the "Clone" operation

Get-clone-29.png


Next steps[edit]