Hi Team
I have a git for desktop, but want to know how to push and commit projects(C#, Asp.net, React-Native/PHP).
Hi Team
I have a git for desktop, but want to know how to push and commit projects(C#, Asp.net, React-Native/PHP).
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted May 17, 2022, 1:53 PM
Deepak TewatiaPosted May 17, 2022, 2:30 PM
Please have a look on this article.
https://www.c-sharpcorner.com/article/what-is-git-github-and-github-desktop-and-create-a-git-repository-in-github-usi/
Santosh KaranamPosted May 17, 2022, 1:55 PM
Before you start pushing your code you need to have an .gitignore file in your folder which help you to only commit code and not generated dlls, exes etc.
When you create repository in GitHub, you can configure default ignore file
you can learn more on ignore files here- https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
Once you have the gitignore file, you are ready to commit the code.
Commit command simply "commits " the code to local repository, to push to remote repository you need to use "Push", then other members in your team can have a look at your code with "Pull"/"Fetch".
More can be read here - https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/making-changes-in-a-branch/pushing-changes-to-github