- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 106字
- 2021-07-02 21:09:41
Initializing Git
The first thing we need to do to use Git, after installing it of course, is to set up a folder as our Git repository. This only takes a couple of commands on the command line, as shown here:

After that, we move to the folders where we want the repository to be, that is, git init and git add. Once we've initialized the repository, we add any files that we've already created to it with the git add command. Then, we create our first safe point in the code with the git commit -a command, as shown here:
git commit -a
推薦閱讀
- Java EE 6 企業(yè)級應用開發(fā)教程
- Magento 2 Development Cookbook
- Python王者歸來
- Mastering Drupal 8 Views
- MATLAB 2020從入門到精通
- Visual C++開發(fā)入行真功夫
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- 零基礎入門學習Python(第2版)
- Unity UI Cookbook
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Web App Testing Using Knockout.JS
- 深度實踐KVM:核心技術、管理運維、性能優(yōu)化與項目實施
- Mastering OAuth 2.0
- Mastering Leap Motion
- 實驗編程:PsychoPy從入門到精通