Grayed out push and pull on Rstudio - r

I want my project in Rstudio to connect to a repository. However, the push and pull options are grayed out, which leads me to believe I am not connected.
Under tools -> project options -> Git/SVN, I see that I am using Git as the version control system, but the Origin box is grayed out, so I cannot enter the URL that would connect to the repo.
Any ideas what is happening?
Thanks in advance.

Related

Cannot publish a Flex Dashboard project from R Studio to shinyapps.io after upgrading to 2022.07.2 Build 576

From the Manage Accounts option of the Publish in RStudio I connect to my shinyapps.io account and click apply, then OK. Next, I click publish and get a dialog box for RStudio connect account. Before I upgraded, I did not get this option, I do not have the public URL of the RStudio connect server and I click cancel. I then click Publish and the Publish from list box has** no accounts connected** even though I connected to my shinnapps.io account from the manage accounts option. I have only been developing in R for a few weeks and would appreciate any suggestions to solve this issue.
A colleague suggested copying and pasting my code into a new template .rmd file and saving to a new location on my computer. You also can check to make sure runtime: shiny is in the YAML
These suggestions did not work, I got the same result.

Reactivate Push & Pull buttons in RStudio

For the past three weeks I've been working on my personal iMac, developing a graphical analysis. It was already linked to a GitHub repository, but I kept working locally until I had something substantial to push up to GitHub. Today I tried to push the changes to GitHub and got the message that GitHub no longer supports https: with password authentication.
No problem, I thought. I already had ssh setup and was using it for non-R projects. So, snooping around the Internet, I came across instructions such as these and changed the urls from https to ssh.
But somewhere along the way, RStudio decided to gray out the buttons for Pull & Push under the Git tab.
How does one reactivate the buttons?
Make sure first your SSH URL works from command line:
ssh -Tv git#github.com
cd /path/to/local/repo
git remote -v # do you see an SSH URL git#github.com:<me>/<myrepo>?
git ls-remote # do you see remote branches SHA1?
Then, you would need to reference your private key in your RStudio settings

Push to Github Stuck on Rstudio

While I am trying to push on GitHUb from rstudio it is stuck and is not reflecting on Github
There might be some mismatch in the settings that I have configured watching tutorials.
Error Screenshot
Git Settings
Rstudio Options
GitHub Account Settings
Repository Settings
I was facing the same issue while following one of the courses online. I don't know exactly what causes this issue.
Problem: Exactly the same with every setting as shown in the screenshot.
The solution:
in RStudio, click on the "Tools" menu and select "Shell"
Run the following command: git push
it might ask you for your git username and password. Supply this
information, make sure it is correct
hopefully, the push is successful, then you can close the window
Now make some more edits to some files so that you have new content to
push
Click on the "push" button in RStudio and this time the push should
work
This is not my solution I found it here: https://stackoverflow.com/a/45804117/5677883

How to fork/mirror my openshift application source code to a github repo

i have created an open shift wordpress application some times back and i have really a pretty much amount of data in it. I just want to pull the whole source into my github so that i can work on few weird part. Is it possible now to download the source code? i googled and got no luck.
Check this info on the Openshift Forum - https://www.openshift.com/forums/openshift/how-to-keep-a-github-repository-and-an-openshift-repository-in-sync
Add your GitHub repo as another remote and push to there.

Error with TFS while trying to connect with workspace

Hello I am trying to bind my work space and I have been doing that with edit work space option and when I bind it for the first time, it had been giving message that if I want to download all the files from the server but I do not see that option from my home computer.
How can I download the latest files from the server, once I have bound my workspace with the server?
Open up the Source Control Explorer (from Team Explorer). Select your workspace from the workspace drop-down in the toolbar. Right click the project in Source Control Explorer and choose Get Latest Version, or Get Specific Version.

Resources