Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×I have been after a long period of not using git or bitbucket,
i have an unupdated repo here in bitbucket, and a actualized one in my "manjaro"linux. I want to actualize bitbucket to the latest version of dotfiles (.bashrc,.bash_alias,.bash_funks(functions) & bash_history
could you help me?
Hi and welcome to the community!
If you only want to update Bitbucket with the latest version of these files and you're not interested in preserving older history, you can do the following:
1. Clone the Bitbucket repo on your Linux machine
2. Copy-paste in the clone directory these files
3. Commit the changes in the clone directory
4. Push them to the Bitbucket Cloud repo
We have the following tutorials if you are not familiar with Git:
The commands for the operations I mentioned are in the sections Getting started and Collaborating workflows (git clone, git add, git commit, and git push).
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
Hi Theodora, thanks for visiting my question. I did it other way at the end: cloned bitbucket repo in my home directory, replaced cloned files with the ones i have in my linux system , and hard-linked .bashrc ... etc to the cloned repo, so it's up to date without much effort, it's working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the update, Luis Emilio, that's good to hear.
Please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.