### Start SSH Agent (Linux/macOS) Source: https://sourcecraft.dev/portal/docs/en Launches the SSH agent. To ensure it starts automatically on login, add this command to your `~/.profile` file. ```bash ssh-agent -s ``` ```bash ssh-agent -s ``` -------------------------------- ### Navigate to Cloned Repository Source: https://sourcecraft.dev/portal/docs/en Changes the current directory to the newly cloned repository, allowing you to start working on the project. ```bash cd ``` -------------------------------- ### Create and Push New Branch Source: https://sourcecraft.dev/portal/docs/en Use these commands to create a new local branch and push it to the remote repository to start new feature development. ```git git checkout -b new-feature git push -u origin new-feature ``` -------------------------------- ### Clone Repository via SSH Source: https://sourcecraft.dev/portal/docs/en Clones a SourceCraft repository using its SSH clone URL. Ensure Git is installed and you have the correct clone URL. ```bash git clone ``` -------------------------------- ### Generate SSH Key Pair (Linux/macOS/Windows) Source: https://sourcecraft.dev/portal/docs/en Use the `ssh-keygen` command to create a new SSH key pair. You can specify a comment or leave it empty. The command prompts for key file names and a password for the private key. ```bash ssh-keygen -t ed25519 -C "" ``` -------------------------------- ### Add, Commit, and Push Changes Source: https://sourcecraft.dev/portal/docs/en After making modifications to files, stage them, commit with a descriptive message, and push the changes to the remote branch. ```git git add . git commit -m "updated README.md" git push origin new-feature ``` -------------------------------- ### Clone Repository via SSH on Port 443 Source: https://sourcecraft.dev/portal/docs/en Clones a SourceCraft repository using SSH over port 443, which is often used when direct SSH access is restricted. Specify the port number in the URL. ```bash git clone ssh://ssh.sourcecraft.dev:443//.git ``` ```bash git clone ssh://ssh.sourcecraft.dev:443/sourcecraft/sourcecraft.git ``` -------------------------------- ### Add SSH Key to Agent Source: https://sourcecraft.dev/portal/docs/en Adds your private SSH key to the SSH agent, allowing you to use it for authentication without re-entering the passphrase. ```bash ssh-add ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.