Working with others
Created by Anna Skoulikari about a year ago
No description provided
3 Comments
Working with others
dasar@PRASHANT MINGW64 ~/Desktop/coworker (main) $ git log commit d86e8d40c3ef5c50281ef73599f73aa228a11ad3 (HEAD -> main) Author: Prashant Dasari [email protected] Date: Sun Apr 24 14:43:51 2022 +0530
green
commit a8bd2fc1777c0f993758c71dc6b74accade7ba90 (origin/main, origin/HEAD) Author: Prashant Dasari [email protected] Date: Sun Apr 24 09:55:11 2022 +0530
Initial commit
dasar@PRASHANT MINGW64 ~/Desktop/coworker (main) $ git push origin master error: src refspec master does not match any error: failed to push some refs to 'github.com:dasariprashant0/demo.git'
This is not the best way to give direct access to the coworkers to make changes. Due to this the other co workers will be confused of the changes made. So the best practice is to create a pull request with atleast one reviewer to review the changes made and accept the pull request.