DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)
coding-101-python git init (directory name) To create a completely new repository, you need to create a directory. Luckily, git ...
No commits yet Untracked files: (use "git add <file>..." to include in what will be committed) newfile nothing added to co ...
No commits yet Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: newfile Removing files and ...
Click here to view code image git mv (-f) (source) (destination) For this command you supply a source argument and a destination ...
using git add -A, but it works only for files that have been added at some point before in their history; new files need to be e ...
In order to allow Git to use a remote repository, you have to configure Git with some information so that it can find it. When y ...
# git remote rm origin # git remote -v In order for your code to be shared with the rest of your team or with the rest of the wo ...
The command git pull syncs any changes that are on the remote repository and brings your local repository up to the same level a ...
create mode 100644 Picture2.jpg create mode 100644 Picture3.png Working with Branches Branches are an important workflow in soft ...
Notice that the first entry is the current commit state, as it is referenced by HEAD. The other entries show the chronological h ...
The * next to master shows that the branch you are currently in is still master, but you now have a new branch named newfeature. ...
Figure 2-13 Changing Head to a New Branch Now you have a separate workspace where you can build your feature. At this point, you ...
Figure 2-14 Two Branches with Commits In order to get the two branches merged, Git has to compare all the changes that have occu ...
Figure 2-16 Changes to the Text File in the newfeature Branch On the newfeature branch, you can issue the following commands to ...
# git merge newfeature Updating 77f786a..dd6bce5 Fast-forward text1 | 1 + 1 file changed, 1 insertion(+) In this very simple exa ...
branch, you would have seen the following message after using the command git merge: Click here to view code image #git merge ne ...
#git add. #git commit -m "merge conflict fixed" [master fe8f42d] merge conflict fixed Comparing Commits with diff The diff comma ...
Click here to view code image #git diff --cached diff --git a/text2 b/text2 new file mode 100644 index 0000000..b9997e5 --- /dev ...
@@ -1,3 +1,4 @@ line 1 line 2 +line 3 new feature code This section has covered quite a bit of the syntax and commands that you ...
It helps you create higher-quality software. It enables your team to be more cohesive and deliver software projects on time. It ...
«
3
4
5
6
7
8
9
10
11
12
»
Free download pdf