Ok, so i have been trying to get this working and its driving me nuts. All want to do is take my project in vscode and upload it to a branch in gitlab.
Here is a list of things i have done :
- Set up SSH connection, works fine.
- Created a new branch for a project.
- Trying to do a "git push origin master" - gives errors.
Errors : Updates were rejected because the tip of your current branch is behind its remote counterpart.
ok, so now i have to pull right? so i do "git pull origin master" then i get an error :
From gitlab.com:psuryateja17/secret-escapes * branch DataChart -> FETCH_HEAD fatal: refusing to merge unrelated histories
Could someone please help me out. Thanks.