git add .
git commit -m "your message" make you message meanningful
git push
خطوات ال reset
git reset HEAD~ number of commits
git add .
git commit -m "you message
git push origin your_branch_name -f
خطوات الريبيز
git fetch or git fetch origin
git rebase origin/master
if success
git push -f or git push origin your_branch_name --force
if conflict
solve the conflict
then
git rebease --continue
git push -f
or git add .
git commit -m
gir rebease --continue
git push -f
إرسال تعليق