This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
interface:first_start [2023/04/24 11:17] calogero [First start] |
interface:first_start [2023/04/24 11:32] (current) calogero |
||
---|---|---|---|
Line 12: | Line 12: | ||
<code>git clone git@gitlab.uliege.be:UEE/GmshToLag </code> | <code>git clone git@gitlab.uliege.be:UEE/GmshToLag </code> | ||
- | With python, it is possible to work with //**Visual Studio code**// ([[https://code.visualstudio.com/download]]) or //**Visual Studio**//(same as Lagamine), the first one is more convenient, so there is the steps to make it work : | + | This will directly create you the gitfile : |
+ | {{ :interface:firststart:gitlab_file.png?nolink&400 |}} | ||
+ | With python, it is possible to work with //**Visual Studio code**// ([[https://code.visualstudio.com/download]]) or //**Visual Studio**//(same as Lagamine), the first one is more convenient, so there is the steps to make it work : | ||
+ | - open //**Visual Studio code**// as an administrator (right click), once in the //**Visual Studio code**// open a new terminal (Powershell) and use these lines which allow the ssh key to be read (for commits from //**Visual Studio code**//) : | ||
+ | |||
+ | |||
+ | <code>Get-Service -Name ssh-agent | Set-Service -StartupType Manual </code> | ||
+ | |||
+ | <code>ssh-agent </code> | ||
+ | |||
+ | <code>ssh-add </code> | ||
+ | |||
+ | (Maybe, it would be better to check the path of ssh.exe) | ||
+ | |||
+ | <code>git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe </code> | ||
+ | |||
+ | (if you want,it is possible to check this [[https://stackoverflow.com/questions/56490194/vs-code-bitbucket-ssh-permission-denied-publickey]]) | ||
+ | |||
+ | {{ :interface:firststart:powershell_administrator_command.png?nolink&600 |}} | ||
+ | |||
+ | Once it is done, it is possible to make commit with //**Visual Studio code**// : | ||
+ | |||
+ | |||
+ | {{ :interface:firststart:commit_visual_studio.png?nolink&600 |}} | ||