Git and GitHub ~ How to fix common errors ~

I will upload it as a memorandum of programming learning.

Purpose

Contents

  1. Take over the code you are writing to another branch, or → Bring Change To
  2. Hold the code you are writing and recreate the branch from 0 → Leave On Change My Master Leave On Change My Master The operation used when you want to interrupt the work once, the work content returns to 0 because the branch is created from 0. How to undo interrupted work Return to master branch Select Started Changes Select Resteore Recover code by 

If you comment the wrong information Before pushing, you can cancel the comment with Un do under comment

Summary

When working with multiple people, individual errors lead to overall errors. ・ Make sure that there are no errors when pushing or commenting. ・ If you make a mistake, resolve it with the correct procedure, and consult and report to the team members. ・ If you cannot solve the problem, consult with the members instead of trying to solve it in minutes.

Recommended Posts

Git and GitHub ~ How to fix common errors ~
Common problems with WSL and how to deal with them
How to resolve Git conflicts
About self-introduction and common errors
How to resolve errors when doing git push heroku master
How to use StringBurrer and Arrays.toString.
How to push from Tarminal to GitHub
How to use EventBus3 and ThreadMode
How to use equality and equality (how to use equals)
How to connect Heroku and Sequel
How to convert LocalDate and Timestamp
How to resolve Mixed Content errors
[Technical memo] How to resolve errors
How to ignore Rubocop warnings (errors)
How to use OrientJS and OrientDB together
[Java] How to output and write files!
How to resolve errors when installing Rails 5.1.3
How to set up and use kapt
How to fix system date in JUnit
How to build SquashTM and how to support Japanese
How to find the tens and ones
How to handle sign-in errors with devise
[Easy] How to upgrade Ruby and bundler
How to use substring and substr methods
Note: [Docker] How to start and stop
How to write and explain Dockerfile, docker-compose
How to use @Builder and @NoArgsConstructor together
I'm making an Android app and I'm stuck with errors and how to solve it
JDBC promises and examples of how to write
How beginners can upload their apps to GitHub
How to output Excel and PDF using Excella
[Java] How to use FileReader class and BufferedReader class
How to execute and mock methods using JUnit
[Java] How to get and output standard input
[Ruby] How to use gsub method and sub method
How to play audio and music using javascript
How to use Segmented Control and points to note
How to set up and operate jEnv (Mac)
How to use scope and pass processing (Jakarta)
How to get and study java SE8 Gold
How to build API with GraphQL and Rails
How to execute processing before and after docker-entrypoint.sh
How to find the total score and average score
[Rails] How to get success and error messages
How to build parquet-tools and merge Parquet files
Rails scope anti-patterns and how to eliminate them
Ruby How to convert between uppercase and lowercase
How to access Java Private methods and fields
[Java] How to use Calendar class and Date class
How to deploy
[Ruby] 5 errors that tend to occur when scraping with Selenium and how to deal with them
How to push an app developed with Rails to Github
[Java] Types of comments and how to write them
Java memory management and how to read GC Viewer
[Android Studio] [Java] How to fix the screen vertically
How to hover and click on Selenium DOM elements
How to remove Ubuntu when dual booting Windows and Ubuntu
How to serialize and deserialize LocalDateTime type with GSON
How to convert A to a and a to A using AND and OR in Java
How to handle TSV files and CSV files in Ruby
How to Git manage Java EE projects in Eclipse