Add file/ files
Add one or more files or folders to a repository.
Last updated
Add one or more files or folders to a repository.
Last updated
Follow these steps to upload one or more files to your repository on Protocol.Land using the web UI:
Navigate to the main page of the repository and click “Add file” located on the top-left corner above the list of files.
Click “Upload files” from the modal you are prompted with.
You will be prompted with another modal for file selection.
Click “Browse Files” and select the desired file/ files or even entire folders.
Type in the desired commit message that summarizes the changes.
Preview the estimated cost of committing your changes by hovering over the information icon.
Click “Upload”.
You will be redirected to the main page of the repository, where the files list of the active branch will now include your newly uploaded file(s).
Follow these steps to add and update files to your repository on Protocol.Land using the command line:
Note: Ensure you have the git remote helper installed and properly configured to interact with repositories hosted on Protocol.Land using the command line.
In your local repository, make the desired changes to existing files or add new files to the project.
Open your command line.
Stage file(s) for commit in your local repository with the following command:
Commit the staged file(s) as follows along with a commit message that summarizes the changes:
Push your changes from the local repository to Protocol.Land:
The pushed changes will be updated in the files list of the working branch.