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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted May 17, 2022, 9:53 AM EDT
Santosh KaranamRank #954 · 2.1K reputationPosted May 17, 2022, 9:55 AM EDT
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
Deepak TewatiaRank #143 · 15.9K reputationPosted May 17, 2022, 10:30 AM EDT
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/