- Continuous Integration,Delivery,and Deployment
- Sander Rossel
- 195字
- 2021-07-02 15:42:16
The working directory
As we have seen in the previous chapters, getting a Git repository on your local computer is as easy as cloning a repository. The folder that serves as your Git repository is a regular folder like any other and is also known as the working directory. The magic trick is the hidden .git folder that has all the data that is necessary for Git to track your files. It allows you to execute commands, such as git status, git add, and git commit. The .git file contains your HEAD, which is basically the current state of your branch. Whenever you move commits, branch, cherry pick, or whatever, the HEAD will know your current state and what it once was. Knowing this, resetting your working directory becomes as easy as resetting your HEAD, as we will see later. It also means that you can move your current branch to another commit simply by editing your HEAD. Now, I do not recommend you go around and edit files in the .git folder, but this is exactly what Git does for you when you execute command through the command line or through other Git clients.
- 軟件安全技術
- Advanced Machine Learning with Python
- Photoshop智能手機APP UI設計之道
- 跟“龍哥”學C語言編程
- Visual Basic程序設計教程
- Visual Basic程序設計實驗指導(第4版)
- Java程序設計:原理與范例
- 用戶體驗增長:數字化·智能化·綠色化
- Java實戰(第2版)
- .NET 4.5 Parallel Extensions Cookbook
- Visual Basic程序設計(第三版)
- 從Excel到Python數據分析:Pandas、xlwings、openpyxl、Matplotlib的交互與應用
- 分布式架構原理與實踐
- PHP 8從入門到精通(視頻教學版)
- Java EE輕量級解決方案:S2SH