Push changes made to origin (git push)


      This file relates to both  GitHub and  GitLab.
    

The following guide shows you how to push your updated code to origin

  1. Do all the commits you want (See Add Commits)
  2. Click the Push button
    Push Code to Origin #1
  3. Make sure all branches you wish to push are selected and checked
  4. Click the Push button
    Push Code to Origin #2
Demo Video
The following is a video on how this is being done. Read the how-to guide before watching the video for actual steps to do it

Console Commands Used

      git add [-A] "file" # Adds files to commit
      git commit -m "Message" # Commits
      # -f forces the push and should only be done if all else fails
      git push [-f] # Just push commits
      git push [-f] origin "branch name" # Push a specific branch name (replace origin with your remote)