Skip to content

sbhr574/RestAssuredProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

RestAssuredProject

Source code in master branch. If by default master brunch is not selected please change it

Rest Assured Automation for Practice Purpose

1. Faced Problem: During git push

! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '[email protected]:asantoya/projectnewbies.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details.

Reason: I added readme file from github GUI. This readme file was not uptodate on local. While trying to push my changes from local got this error. If remote and local is not matched will get this error. Solution: I did git fetch and then git pull origin master --allow-unrelated-histories and pushed the changes it worked. Can possible to do force push but it will destroy all the changes on remote which I dont have on local branch. Note: When push with this command(git push -u origin master) local branch autometically linked with remote branch.

About

Rest Assured Automation for Practice Purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages