Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Images/push.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/push1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/push2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/push3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/push4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
#### Work with a teammate collabratively using git and leverage markdown to create various pages about given git commands.

## Contents
<<<<<<< HEAD
- ### [Role of Git, Docker, Automated Testing, Continuous Integration in Software Development](/SD_Practices.md)
- ### [Repository](/Repository.md)
- ### [Clone](/Clone.md)
- ### [Fork](/Fork.md)
- ### [Branch](/Branch.md)
- ### [Commit](/Commit.md)
- ### [Checkout](/Checkout.md)
- ### [Push](/Push.md)
- ### [Pull](/Pull.md)
=======
1. ### [Role of Git, Docker, Automated Testing, Continuous Integration in Software Development](/SD_Practices.md)
2. ### [Repository](/Repository.md)
3. ### [Clone](/Clone.md)
Expand All @@ -12,6 +23,8 @@
6. ### [Commit](/Commit.md)
7. ### [Merge](/Merge.md)
8. ### [Checkout](/Checkout.md)
9. ### [Push](/Push.md)
10. ### [Pull](/Pull.md)

## Team Members
- ### Sri Siva Krishna Teja Oguri
Expand All @@ -23,4 +36,5 @@
- [Atlassian Git Tutorial](https://www.w3schools.com/whatis/whatis_github.asp "Atlassian")
- [Guru99 Automated Testing](https://www.guru99.com/automation-testing.html "Guru99")
- [NerveCode Continous Integration Article](https://nevercode.io/blog/what-is-continuous-integration-and-how-to-benefit-from-it/ "NerveCode")
- [Git Docs](https://git-scm.com/docs/ "Git Docs")
- [Git Docs](https://git-scm.com/docs/ "Git Docs")
>>>>>>> ffa7f59107adcc57662609c6e401a3a0ef855283
31 changes: 31 additions & 0 deletions push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## git push
#### The git push command is used to upload local repository content to a remote repository. Using the push command, we can transfer commits from our local repository to a remote repository. It's the counterpart to git fetch, but fetching imports commits to local branches, pushing exports to remote branches. Remote branches are configured using the git remote command.

- Pushing will overwrite changes, so caution should be taken when pushing.

![push](./Images/push.png)

---

![push](./Images/push1.png)


#### Git will push the related commits and internal objects to a local branch in destination repository.

![push](./Images/push2.png)


#### This is similar to above command but it will allow commits which result in non-fast-forward-merge.

![push](./Images/push3.png)


#### Push all of your local branches to the specified remote.

![push](./Images/push4.png)


#### Tags will not be automatically pushed when you push a branch. The --tags flag sends all of your local tags to the remote repository.