Jump to content

Installing git

JoshuaRossChristie

anyone familiar why i get this error something isn't right with the install for git.

 

~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.17.1-1ubuntu0.7).
git set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
josh@DESKTOP-IOG9BC9:~$ cd /mnt/c/qmk
-bash: cd: /mnt/c/qmk: No such file or directory
josh@DESKTOP-IOG9BC9:~$ https:github.com/qmk/qmk_firmware.git
-bash: https:github.com/qmk/qmk_firmware.git: No such file or directory
josh@DESKTOP-IOG9BC9:~$ cd qmk_firmware
-bash: cd: qmk_firmware: No such file or directory
josh@DESKTOP-IOG9BC9:~$
 

Link to comment
Share on other sites

Link to post
Share on other sites

You already have git installed, you just don't know to properly follow instructions. Are you sure you're advanced enough to do such thing?

 

Anyway, what you want is to first clone the repo with 

git clone https:github.com/qmk/qmk_firmware.git

Then you can do whatever you want inside of the repo's folder.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

nope I'm not advanced enough to be doing such things 😉 . I just wanted to get autohotkeysetup for doing multiple string commands on a second keyboard with the hasu usb converter. I'm familiar with video editing it would be nice to not have to use 10 keys rather than 1 every once in a while.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Sorry, but I'm not into those autohotkeysetup things. Maybe you're better off asking that on the peripherals subforum?

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

 

~$ sudo apt-get install git
[...]
git is already the newest version (1:2.17.1-1ubuntu0.7).
[...]

You tried to install git. apt-get tells you that git is already installed and up-to-date. So nothing else to do here. This does not represent an error with either git or apt-get.

 

josh@DESKTOP-IOG9BC9:~$ cd /mnt/c/qmk
-bash: cd: /mnt/c/qmk: No such file or directory

"No such file or directory" means you tried to change into a directory that doesn't exist. You either need to create it first, or if it is supposed to already exist, you may have missed some previous step in your setup. Whichever is the case, don't continue until you fixed that issue.

 

josh@DESKTOP-IOG9BC9:~$ https:github.com/qmk/qmk_firmware.git
-bash: https:github.com/qmk/qmk_firmware.git: No such file or directory

This makes no sense. You entered a URL on the command line. What is that supposed to do? Since this is a Git URL, you probably want to clone the repository, so you need to use git to do it, not just enter the URL on the command line. For example "git clone https:github.com/qmk/qmk_firmware.git"

 

josh@DESKTOP-IOG9BC9:~$ cd qmk_firmware
-bash: cd: qmk_firmware: No such file or directory

You're once again trying to change to a directory that doesn't exist. Which is logical, since you didn't actually clone the repository. The previous step failed, which means you can't just continue with the next step as if everything is alright. Investigate why things failed, correct the issue, verify it worked correctly this time, then continue with the next step.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×