Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jameshart
on March 14, 2018
|
parent
|
context
|
favorite
| on:
Key Git Concepts Explained the Hard Way
The other 10% of the time:
git commit -a -m "Commit" && git push -f
saagarjha
on March 14, 2018
[–]
Forcing your coworkers do deal with your incompetence, I see.
jameshart
on March 14, 2018
|
parent
[–]
Since the OP never mentioned a need to use 'git pull', I assume the 10% of the time it didn't work was when other people had gone and corrupted the repository by pushing their own commits. Clearly that's not something we want to have to deal with.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
git commit -a -m "Commit" && git push -f