Search code examples
linuxgithubterminalpusharch

Terminal Commands in Manjaro (Arch operating system) to Push Github project


After changing from linux to arch linux so make cmds get changed so....in linux I know how to push ...but in arch linux ....no idea


Solution

  • You need to have installed git, and as long as I'm concerned I think it is preinstalled in Manjaro.

    The steps you have to take are exactly the same as in any OS because the commands are Git dependent, not OS dependent.

    In this case you should git init the directory you want to make a repo, then git add . for adding all of the files to the repo and then git commit . -m "message" to commit the changes.

    After all this you need to go to your GitHub repository and copy the command to push the project there, the command will be something like this

    git remote add origin https://github.com/rubendario99/manjaroTest.git

    and last but not least git push -u origin master