Open olevski opened 2 years ago
The first method should do:
- git fetch
- git status --porcelain --branch
The second command will tell us if we are 1. up-to-date 2. a ff behind master or 3. diverged from origin.
The second method will run the first and, if we are an ff behind master run:
- git pull
This would actually be two methods: