How do I go about using Git?

If it's not ZDoom, it goes here.

Re: How do I go about using Git?

Postby Rachael » Mon Sep 07, 2020 9:27 pm

If you already have a local repository, linking it to a remote is very simple.

First you have to go on github.com, sign up and then create an empty repository (do not allow it to create a readme or license or anything like that, you need it completely bare).

Then open the command prompt, and type the following:
Code: Select allExpand view
cd /d c:\path\to\your\git\repository
git remote add origin https://github.com/yourgithubname/yourreponame
git push origin --all
git push origin --tags
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: How do I go about using Git?

Postby cubebert » Wed Sep 09, 2020 5:11 pm

I've created the repository for the code and linked it to a remote. For now, I've made it private since I'm still working on adding features to it. Thanks to everyone in the thread for helping me out with this!
User avatar
cubebert
 
Joined: 14 Jun 2020
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Previous

Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 2 guests