Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
First time working in GitHub, and I am not sure how to access to the "terminal". Any idea? Do I need to install it?
It depends on your platform.
Windows:
Right click the start menu and select command prompt. Or search for command prompt in the start menu.
Mac:
Search for 'terminal' using spotlight.
Linux:
Search for 'terminal' in the menu, or use the shortcut ctrl + alt + t
Many people use the commandline, in a terminal to interact with github remote repositories. Depending on the OS you're using, the terminal works in different ways.
In any case, git is the application/commandline software your looking for. With git you can create, commit, etc:
> git init
> git add -A
> git commit -m 'first commit!'
> git push origin master
If you're not terminal-ly inclined, you could try the desktop client: https://desktop.github.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
I followed the steps below, but I couldn't find the right key.
1. open command prompt (CMD)
2. enter SSH-keygen and press enter
3. press enter to all settings. now your key is saved in c:\\Users.ssh\\id_rsa.pub
Please tell me how to solve it.
Before executing CMD command, do the following.
WIN key → Apps & features → optional features → Install open SSH client
enter image description here
I found a notable exception that in Windows 10, using the described route only wrote the files to the folder if the file names where not specified in the ssh-keygen generator.
giving a custom key name caused the files containing the RSA public and private keys not to be written to the folder.
Open the windows command line
Type ssh-keygen
Leave file name blank, just press return,
Set your passphrase
Generate your key files. They will now exist. and be stored in c:/Users/YourUserName/.ssh/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Trying out Windows 10 for first time. Installed winget onto my powershell, and then used winget to install vscode: winget install vscode. When I install vscode on a Mac/Linux, I get a command-line tool code that I like to use to launch vscode from my PWD: code -n .
But being new to Powershell and winget, I have no idea how to determine exactly what/where/how things got installed. In summary:
Is there a command-line tool like code installed by winget?
If not, how else might I launch vscode with a window on my PWD?
OK, after rebooting code -n . works as expected.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I have WSL with a directory ~/library created within WSL. Then I ran VSCode and opened this folder directly from Windows Explorer, causing to open it as a "local Windows" folder instead of WSL. Adding to the offense, I created 2 folders from VSCode (let's say foo and bar) inside library.
The cost of doing this is that now I can't delete these folders, either from Windows Explorer or WSL (sudo rmdir foo or sudo rm -rf foo). In Windows and Ubuntu I'm getting access denied errors. I am both Windows admin and root user.
Would be any workaround for removing them?
Maybe a little too late but to remove folder in your wsl just open your wsl/ubuntu terminal. cd /to get to your root. ls to find where you created the folder, in my case it was in: home/user/projects folder, cd home/user/projects. Type this command: rm -r folder-name, then ls to verify that the folder has been remove.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 23 days ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I am using XMing to run Emacs from WSL, which is working quite well. My issue is when trying to share folders between Windows and WSL. I have tried the following:
Project located in the Windows file system, accessed via /mnt/ in WSL
Symlink (created in WSL bash) of project located in the Windows file system
Copy the project to the WSL file system
Out of the 3 listed options, only the last works with projectile (and likely other Emacs packages). But I need to be able to access/modify the files from Windows as well, so that is not a viable option.
Has anyone found a good solution for this?
I do it so (also to sync between Windows_laptop & Ubuntu_pc):
I have folder "workspace"
and symlinks to it: windows symlink under win and linux symlink under linux.
%USERPROFILE%\Cloud\workspace
for Win usage:
made windows symlink: %USERPROFILE%\workspace -> %USERPROFILE%\Cloud\workspace
for Ubuntu usage (WSL):
made linux symlink: ~/workspace -> /mnt/C/Users/USER/Cloud/workspace
May this help?
One of the advantages of WSL (windows subsystem for Linux) is that you can share files easily with your windows.
I have used the below codes with WSL Ubuntu (but this should work with other versions of Linux as well). Using /mnt will do all the magic.
Syntax:- cd /mnt/drive/Folder/Subfolder
Sample code:- cd /mnt/c/Users/Saswat
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
When you double click on a file opens a new window emacs. Tell me how to do to open in the same
I beg your pardon, Linux OS
I installed emacs23
Then i run the command:
emacs --daemon &&
emacsclien -c &&
emacsclien -c
And i have opened 2 windows instead of one
You don't provide enough information, such as what OS/windowing system you're using, but the answer involves using emacsclient. The wiki page has all the details of using emacsclient, though not how to set up your OS/windowing system to associate the file types with emacsclient (instead of emacs).
You have a single Emacs instance with two windows. You have two windows because you explicitly asked for them by passing the -c option to emacsclient.